package org.dromara.business.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.business.domain.BusinessComplaint;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;

import java.io.Serial;
import java.io.Serializable;



/**
 * 投诉视图对象 business_complaint
 *
 * @author zlj
 * @date 2024-11-18
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = BusinessComplaint.class)
public class BusinessComplaintVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long id;

    /**
     * 内容
     */
    @ExcelProperty(value = "内容")
    private String nr;

    /**
     * 图片 多图
     */
    @ExcelProperty(value = "图片，多图")
    private String urlId;
    @Translation(type = TransConstant.OSS_ID_TO_URL ,mapper = "urlId")
    private String url;

    /**
     * 投诉人id
     */
    @ExcelProperty(value = "投诉人id")
    private Long createBy;
    @Translation(type = TransConstant.USER_ID_TO_NICKNAME,mapper = "createBy")
    private String createName;

    /**
     * 投诉类型 0信息 1其他
     */
    @ExcelProperty(value = "投诉类型 0信息 1其他")
    private String type;


}
